package org.glavo.bot

import kotlinx.serialization.json.JsonPrimitive
import kotlinx.serialization.json.buildJsonObject
import kotlinx.serialization.json.put

object JsonCache {
    val TRUE = JsonPrimitive(true)
    val FALSE = JsonPrimitive(false)

    val IMAGE_STR = JsonPrimitive("[图片]")
    val IMAGE_HOVER_EVENT = buildJsonObject {
        put("action", "show_text")
        put("contents", "点击查看图片")
    }
    val OPEN_URL = JsonPrimitive("open_url")
}